package com.qr.bean.wmyh;

import java.sql.Timestamp;
import java.math.BigDecimal;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotNull;
/**
 * @author: zc
 * email: zc8023zs@163.com
 * create_time: 2020/8/11 13:03:09
 * 分离出查询实体
 */
@ApiModel(value = "jbr_user_favorite", description = "用户收藏记录")
@TableName(value = "jbr_user_favorite")
public class JbrUserFavoriteView implements Serializable {
	@ApiModelProperty(value = "编号")
	@TableId(type = IdType.INPUT,value = "id")
	@NotNull(message = "编号不能为空")
	private Integer id;
	@ApiModelProperty(value = "用户ID")
	@TableField(value="user_id")
	private Integer user_id;
	@ApiModelProperty(value = "1商品                        2商铺")
	@TableField(value="fav_type")
	private Integer fav_type;
	@ApiModelProperty(value = "商品ID")
	@TableField(value="product_id")
	private Integer product_id;
	@ApiModelProperty(value = "添加时间")
	@TableField(value="create_time")
	private Timestamp create_time;
	@ApiModelProperty(value = "收藏时价格")
	@TableField(value="price")
	private BigDecimal price;
	@ApiModelProperty(value = "店铺编号")
	@TableField(value="shop_id")
	private Integer shop_id;

 
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
 
	public Integer getUser_id() {
		return user_id;
	}
	public void setUser_id(Integer user_id) {
		this.user_id = user_id;
	}
 
	public Integer getFav_type() {
		return fav_type;
	}
	public void setFav_type(Integer fav_type) {
		this.fav_type = fav_type;
	}
 
	public Integer getProduct_id() {
		return product_id;
	}
	public void setProduct_id(Integer product_id) {
		this.product_id = product_id;
	}
 
	public Timestamp getCreate_time() {
		return create_time;
	}
	public void setCreate_time(Timestamp create_time) {
		this.create_time = create_time;
	}
 
	public BigDecimal getPrice() {
		return price;
	}
	public void setPrice(BigDecimal price) {
		this.price = price;
	}
 
	public Integer getShop_id() {
		return shop_id;
	}
	public void setShop_id(Integer shop_id) {
		this.shop_id = shop_id;
	}

}